# break

while True:
    s = input("enter xxxx: ")
    if s == 'q':
        break
    if len(s) < 3:
        print("too small")
        continue
    print("length: ", len(s))
print("done")
